package com.ceair.flight.refund.location.model;

import com.ceair.flight.refund.util.DateUtil;
import com.ceair.flight.refund.util.StringUtil;
import com.ceair.muservice.common.dto.AbstractBaseDO;

import java.io.Serializable;


/**
 * emd票表
 * 
 * @author rujun
 *
 */
public class EmdTktDO extends AbstractBaseDO implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8459190355331930347L;

	/**
	 * emd票号
	 */
	private String tktNo;
	/**
	 * emd旅客id
	 */
	private Long emdPaxNo;
	/**
	 * emd票对应航段id，用‘，’分割
	 */
	private Long emdSegId;

	public String getTktNo() {
		return tktNo;
	}

	public void setTktNo(String tktNo) {
		this.tktNo = tktNo;
	}

	public Long getEmdPaxNo() {
		return emdPaxNo;
	}

	public void setEmdPaxNo(Long emdPaxNo) {
		this.emdPaxNo = emdPaxNo;
	}

	public Long getEmdSegId() {
		return emdSegId;
	}

	public void setEmdSegId(Long emdSegId) {
		this.emdSegId = emdSegId;
	}

	@Override
	public String toString() {
		return tktNo + StringUtil.SEPARATOR + emdPaxNo + StringUtil.SEPARATOR + emdSegId
				+ StringUtil.SEPARATOR+createId+ StringUtil.SEPARATOR + DateUtil.toString(createDtm, StringUtil.DATEFORMATE)
				+ StringUtil.SEPARATOR+updateId+ StringUtil.SEPARATOR + DateUtil.toString(updateDtm, StringUtil.DATEFORMATE)+ StringUtil.SEPARATOR+version+ StringUtil.SEPARATOR+deleted;
	}

}
